#ifndef TOPFRAME_H_INCLUDED
#define TOPFRAME_H_INCLUDED

#include "main.h"

class TopFrame : public wxFrame
 {
 public:
     TopFrame(SampleApp *AApp, wxString Title = _T("Welcome to wxWidgets"));
     void Quit();
     wxGauge * ProgressBar;
     bool m_running;

 private:
     SampleApp *App;

     void OnQuit(wxCommandEvent& event);
     void OnQuitX(wxCloseEvent& event);
     void OnStart(wxCommandEvent& event);
     void OnStop(wxCommandEvent& event);
     MyCanvas * m_drawPanel;

     // any class wishing to process wxWidgets events must use this macro
     DECLARE_EVENT_TABLE()
 };




#endif // TOPFRAME_H_INCLUDED
